from typing import List, Union


def string_format(strs: List[Union[str, int]], separate:str = None, boundary=None):
    ret = f"{separate or ' '}".join(map(str, strs))
    if boundary:
        return '('+ret+')'
    return ret